﻿using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using MoneyManagerNET.Model;
using System.Collections.Generic;
using MoneyManagerNET.Infrastructure;
using MoneyManagerNET.Presentation.ViewModel;

namespace Tests.Presentation.ViewModel
{
    
    
    /// <summary>
    ///This is a test class for CategoriesViewModelTest and is intended
    ///to contain all CategoriesViewModelTest Unit Tests
    ///</summary>
    [TestClass()]
    public class CategoriesViewModelTest
    {


        private TestContext testContextInstance;

        /// <summary>
        ///Gets or sets the test context which provides
        ///information about and functionality for the current test run.
        ///</summary>
        public TestContext TestContext
        {
            get
            {
                return testContextInstance;
            }
            set
            {
                testContextInstance = value;
            }
        }

        #region Additional test attributes
        // 
        //You can use the following additional attributes as you write your tests:
        //
        //Use ClassInitialize to run code before running the first test in the class
        //[ClassInitialize()]
        //public static void MyClassInitialize(TestContext testContext)
        //{
        //}
        //
        //Use ClassCleanup to run code after all tests in a class have run
        //[ClassCleanup()]
        //public static void MyClassCleanup()
        //{
        //}
        //
        //Use TestInitialize to run code before running each test
        //[TestInitialize()]
        //public void MyTestInitialize()
        //{
        //}
        //
        //Use TestCleanup to run code after each test has run
        //[TestCleanup()]
        //public void MyTestCleanup()
        //{
        //}
        //
        #endregion


        /// <summary>
        ///A test for CategoriesViewModel Constructor
        ///</summary>
        [TestMethod()]
        public void CategoriesViewModelConstructorTest()
        {
            CategoriesViewModel target = new CategoriesViewModel();
            Assert.Inconclusive("TODO: Implement code to verify target");
        }

        /// <summary>
        ///A test for CreateNew
        ///</summary>
        [TestMethod()]
        [DeploymentItem("MoneyManagerNET.Presentation.ViewModel.dll")]
        public void CreateNewTest()
        {
            CategoriesViewModel_Accessor target = new CategoriesViewModel_Accessor(); // TODO: Initialize to an appropriate value
            target.CreateNew();
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }

        /// <summary>
        ///A test for DeleteCurrent
        ///</summary>
        [TestMethod()]
        [DeploymentItem("MoneyManagerNET.Presentation.ViewModel.dll")]
        public void DeleteCurrentTest()
        {
            CategoriesViewModel_Accessor target = new CategoriesViewModel_Accessor(); // TODO: Initialize to an appropriate value
            target.DeleteCurrent();
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }

        /// <summary>
        ///A test for EditCurrent
        ///</summary>
        [TestMethod()]
        [DeploymentItem("MoneyManagerNET.Presentation.ViewModel.dll")]
        public void EditCurrentTest()
        {
            CategoriesViewModel_Accessor target = new CategoriesViewModel_Accessor(); // TODO: Initialize to an appropriate value
            target.EditCurrent();
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }

        /// <summary>
        ///A test for Categories
        ///</summary>
        [TestMethod()]
        public void CategoriesTest()
        {
            CategoriesViewModel target = new CategoriesViewModel(); // TODO: Initialize to an appropriate value
            ICollection<ICategory> actual;
            actual = target.Categories;
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for Category
        ///</summary>
        [TestMethod()]
        public void CategoryTest()
        {
            CategoriesViewModel target = new CategoriesViewModel(); // TODO: Initialize to an appropriate value
            ICategory expected = null; // TODO: Initialize to an appropriate value
            ICategory actual;
            target.Category = expected;
            actual = target.Category;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for CategoryName
        ///</summary>
        [TestMethod()]
        public void CategoryNameTest()
        {
            CategoriesViewModel target = new CategoriesViewModel(); // TODO: Initialize to an appropriate value
            string expected = string.Empty; // TODO: Initialize to an appropriate value
            string actual;
            target.CategoryName = expected;
            actual = target.CategoryName;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for DeleteCommand
        ///</summary>
        [TestMethod()]
        public void DeleteCommandTest()
        {
            CategoriesViewModel target = new CategoriesViewModel(); // TODO: Initialize to an appropriate value
            DelegateCommand actual;
            actual = target.DeleteCommand;
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for EditCommand
        ///</summary>
        [TestMethod()]
        public void EditCommandTest()
        {
            CategoriesViewModel target = new CategoriesViewModel(); // TODO: Initialize to an appropriate value
            DelegateCommand actual;
            actual = target.EditCommand;
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for NewCommand
        ///</summary>
        [TestMethod()]
        public void NewCommandTest()
        {
            CategoriesViewModel target = new CategoriesViewModel(); // TODO: Initialize to an appropriate value
            DelegateCommand actual;
            actual = target.NewCommand;
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for SelectedValue
        ///</summary>
        [TestMethod()]
        public void SelectedValueTest()
        {
            CategoriesViewModel target = new CategoriesViewModel(); // TODO: Initialize to an appropriate value
            object expected = null; // TODO: Initialize to an appropriate value
            object actual;
            target.SelectedValue = expected;
            actual = target.SelectedValue;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for SubCategory
        ///</summary>
        [TestMethod()]
        public void SubCategoryTest()
        {
            CategoriesViewModel target = new CategoriesViewModel(); // TODO: Initialize to an appropriate value
            ISubCategory expected = null; // TODO: Initialize to an appropriate value
            ISubCategory actual;
            target.SubCategory = expected;
            actual = target.SubCategory;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
    }
}
